import { request } from '@/plugins/request'


export const followUser = (username) => {
    return request({
        method: 'post',
        url: `/api/profiles/${username}/follow`,
    })
}

export const unFollowUser = (username) => {
    return request({
        method: 'delete',
        url: `/api/profiles/${username}/follow`,
    })
}


